<?php
class MobileController  extends AppController {
	
	  function beforeFilter() {
        $this->Auth->allow('index');	 
        parent::beforeFilter();        
       
    } 
	 public function index() {
	 
		pr($this->Common->getDevices());	
		
		//header("location:sms:9999?body=DG ABC");
		echo '<center><h1><a href="sms:9999?body=DG ABC">Android </a></h1></center>';
		
		echo "<br>";
		
		
		echo '<center><h1><a href="sms:12345678901:body=hello">IOS </a></h1></center>';
		
	 }
}	
